package com.scpii.universal.pns.service;

import java.util.List;

import com.scpii.universal.dto.AttributeDto;
import com.scpii.universal.dto.UserInfoDto;
import com.scpii.universal.pns.dto.EcProductDto;
import com.scpii.universal.pns.entity.EcProduct;

public interface EcProductService extends PnsBaseService<EcProduct, Long>  {
	
	void saveProduct(EcProductDto ecProductDto,List<AttributeDto> attList,UserInfoDto user);

	Long getTotalCountByCateId(Long cateId,Long appId);
	
	List<EcProductDto> getAllByCateId(Long cateId,Long appId,int pageNo,int pageSize);
	
	void deleteProduct(Long productId,int contentId,boolean isBinded);
	
	void topProductSortOrder(Long productId,Long cateId);
	
	void cancelProductTop(Long productId);
}